<template>
  <div>
    <h3>组件hello - 订阅组件say的消息</h3>
  </div>
</template>

<script>
export default {
  name: 'hello',
  mounted () {
    this.$eventBus.$on('good', (value) => {
      console.log('我是 hello 组件，接受 say组件的参数是--》', value)
    })
  }
}
</script>
